﻿namespace Digitalmes.Application.Common.Models;

/// <summary>
/// 数据处理结果。
/// </summary>
/// <typeparam name="T"></typeparam>
public interface IResult<T>
{
    /// <summary>
    /// 结果值
    /// </summary>
    [AllowNull]
    T Value { get; }

    /// <summary>
    /// 消息
    /// </summary>
    string? Message { get; }
}
